// const HOST = "/api";
// export const HOST = process.env.NODE_ENV === 'production' ? "" : "https://www.baidu.com";
// 文件服务器地址
// export const FILE_HOST = "http://www.hryayun.cn:9000"
export const FILE_HOST = "http://61.54.13.214:2000/minio/"
// 人脸识别使用
export const FACE_HOST = "http://61.54.13.214:2000/minio"

// 接口服务器地址
// export const HOST = "https://www.hryayun.cn:2000"
// const PATH = "/api";
// export const HOST = "http://192.168.3.50:1006"
export const HOST = "http://61.54.13.214:2000/api"
const PATH = "";

//获取openid
export const GET_OPENID_URL = HOST + PATH + '/system/wxApp/getOpenId';
// 查询当前用户状态   // -1未注册 0待审批 2被禁用 1启用
export const GET_STATUS_URL = HOST + PATH + '/publics/deviceConfig/getStatus';
//登录
export const LOGIN_URL = HOST + PATH + '/auth/sysUser/login';
// 获取用户id
export const GETUSER_URL = HOST + PATH + '/auth/sysUser/userInfo';
// 查询用户人脸照片信息
export const GET_USER_FACE_URL = HOST + PATH + '/system/sysUserFace/queryByUserId';

// 查询部门及父部门名称
export const QUERY_PARENT_NAME_URL = HOST + PATH + "/system/sysDept/queryParentName";
// 获取部门下所有的岗位
export const GET_POST_BY_DEPTID_URL = HOST + PATH + "/system/sysPost/listAllByDeptId";
// 设备注册
export const CONFIG_URL = HOST + PATH + '/system/deviceAccess/deviceApply';

// 获取字典信息
export const GETDICT_URL = HOST + PATH + "/system/sysDictItem/optionsByDictCode";
//获取任务列表
export const GET_LIST_URL = HOST + PATH + '/yayun/workTask/wxQueryPage';
//获取任务详情
// export const QUERY_DETAILS_URL = HOST + PATH + '/yunchao/sysUserExpand/wxQueryUserExpandsByWorkId';
export const QUERY_DETAILS_URL = HOST + PATH + '/yayun/workTask/getWxTaskCashboxDetail';

//款箱管理  查询列表
export const GET_POINT_LIST_URL = HOST + PATH + '/yayun/cashbox/queryList';
// 岗位查询
export const GET_POST_LIST_URL = HOST + PATH + '/system/sysPost/queryList';
// 新增款箱申请
export const ADD_TASK_URL = HOST + PATH + '/yayun/applyCashbox/add';
// 修改款箱申请
export const MODIFY_TASK_URL = HOST + PATH + '/yayun/applyCashbox/edit';
// 撤回款箱申请
export const REBACK_TASK_URL = HOST + PATH + '/yayun/applyCashbox/revocationApply';

// 根据id查询任务申请的款箱
export const QUERY_APPLYED_BOX_URL = HOST + PATH + '/yayun/applyCashboxRecord/query';

// 上传文件
export const UPLOAD_FILE_URL = PATH + "/upload/uploadFile";
// 查询用户信息
export const QUERY_USER_INFO_URL = HOST + PATH + '/system/sysUser/query';
// 修改用户信息
export const UPDATE_USER_INFO_URL = HOST + PATH + '/system/sysUser/edit';
// 修改密码
export const MODIFY_PASSWORD_URL = HOST + PATH + '/system/sysUser/eidtMyPassword';

//款箱申请列表
export const GET_TASK_LIST_URL = HOST + PATH + '/yayun/applyCashbox/wxQueryPage';

//款箱详情 款箱数量
export const GET_BOX_COUNT_URL = HOST + PATH + '/publics/checkPlace/getYayunTaskCashboxById';
